package com.pricl.biz.admin.constant;

public enum AdminUserTypeEnum {

	ADMIN(99, "系统管理员"), T1(1, ""), T2(2, ""), T3(3, ""), T4(4, ""), T5(5, ""), T6(6, "");

	Integer type;
	String des; 

	private AdminUserTypeEnum(Integer type, String des) {
		this.type = type;
		this.des = des;
	}

	public static AdminUserTypeEnum get(Integer typeCode) {
		if (typeCode != null) {
			AdminUserTypeEnum[] vs = values();
			for (AdminUserTypeEnum e : vs) {
				if (e.type.equals(typeCode)) {
					return e;
				}
			}
		}
		return null;
	}
}
